<div class="panel panel-default panel-intro">

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane active" id="tab_1">

                <div class="row">
                    <div class="col-md-6 col-xs-12">
                        <div class="panel box box-info">
                            <div class="box-header with-border">
                                <h4 class="box-title">支付宝小程序</h4>
                            </div>
                            <div class="box-body">
                                <form id="zfb-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                                    <input name="plt" type="hidden" value="1">
                                    <input name="row[id]" type="hidden" value="{$zfb.id}">
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">支付名称:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="length(~50)" class="form-control" name="row[name]" value="{$zfb.name}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">应用ID:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="required;length(~30)" class="form-control" name="row[appid]" value="{$zfb.appid}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">合作号:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="length(~30)" class="form-control" name="row[pid]" value="{$zfb.pid}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">支付宝账号:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="length(~50)" class="form-control" name="row[account]" value="{$zfb.account}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">支付宝公钥:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <textarea data-rule="required" class="form-control" name="row[public_key]" rows="6">{$zfb.public_key}</textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">应用私钥:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <textarea data-rule="required" class="form-control" name="row[private_key]" rows="6">{$zfb.private_key}</textarea>
                                        </div>
                                    </div>
                                    <div class="form-group layer-footer">
                                        <label class="control-label col-xs-12 col-sm-2"></label>
                                        <div class="col-xs-12 col-sm-8">
                                            <button type="submit" class="btn btn-success btn-embossed disabled">保存</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 col-xs-12">
                        <div class="panel box box-success">
                            <div class="box-header with-border">
                                <h4 class="box-title">微信小程序</h4>
                            </div>
                            <div class="box-body">
                                <form id="wx-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
                                    <input name="plt" type="hidden" value="2">
                                    <input name="row[id]" type="hidden" value="{$wx.id}">
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">支付名称:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="length(~50)" class="form-control" name="row[name]" value="{$wx.name}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">商户号:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="required;length(~30)" class="form-control" name="row[mch_id]" value="{$wx.mch_id}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">应用ID:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="required;length(~30)" class="form-control" name="row[appid]" value="{$wx.appid}">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-xs-12 col-sm-2">商户密钥:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input data-rule="required;length(~50)" class="form-control" name="row[api_key]" value="{$wx.api_key}">
                                        </div>
                                    </div>
                                    <div class="form-group layer-footer">
                                        <label class="control-label col-xs-12 col-sm-2"></label>
                                        <div class="col-xs-12 col-sm-8">
                                            <button type="submit" class="btn btn-success btn-embossed disabled">保存</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>